package business;

import java.util.Collection;

public interface Bank {
    Collection<Cashier> getCashiers();

    Collection<Account> getAccounts();

    int getCashiersCount();

    boolean hasAccount(int key);

    Account getAccount(int key);

    Account createAccount(int key);

    Account createAccount(int key, double money);

    Cashier getCashier(int key);

    Cashier createCashier(int key);

    int getAccountsCount();

    void closeAccount(int key);

    void turnCashierOut(int key);

    void setAsBankrupt();

    void turnAllCashiersOut();
}
